package com.chaos.framework.web.service.login.manage;

import com.chaos.framework.model.constant.Constants;
import com.chaos.framework.web.service.login.ILoginKeyService;
import org.springframework.stereotype.Component;

/**
 * @author Jacky
 * @date 2020/5/19 17:45
 */
@Component
public class ManageLoginKeyService implements ILoginKeyService {
    String REDIS_LOGIN_USER = Constants.MANAGE_USER;

    @Override
    public String key(String userMu) {
        return REDIS_LOGIN_USER + "_" + userMu;
    }
}
